package com.qfedu.entity;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

public class AdinmEntity implements Serializable {
    private int aid;
    private String aname;
    private String apass;
    private String aimage;
    private String adesc;
    private int astatus;
    private String aacount;
    private int rid;
    private String aphone;
    private int[] roles;
    private int status =1;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }



    public String getAphone() {
        return aphone;
    }

    public void setAphone(String aphone) {
        this.aphone = aphone;
    }

    private int PageNum = 1;
    private int PageSize = 3;

    public int getPageNum() {
        return PageNum;
    }

    public void setPageNum(int pageNum) {
        PageNum = pageNum;
    }

    public int getPageSize() {
        return PageSize;
    }

    public void setPageSize(int pageSize) {
        PageSize = pageSize;
    }

    public List<RolesEntity> getRolesEntity() {
        return rolesEntity;
    }

    public void setRolesEntity(List<RolesEntity> rolesEntity) {
        this.rolesEntity = rolesEntity;
    }

    private List<RolesEntity> rolesEntity;

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getApass() {
        return apass;
    }

    public void setApass(String apass) {
        this.apass = apass;
    }

    public String getAimage() {
        return aimage;
    }

    public void setAimage(String aimage) {
        this.aimage = aimage;
    }

    public String getAdesc() {
        return adesc;
    }

    public void setAdesc(String adesc) {
        this.adesc = adesc;
    }

    public int getAstatus() {
        return astatus;
    }

    public void setAstatus(int astatus) {
        this.astatus = astatus;
    }

    public String getAacount() {
        return aacount;
    }

    public void setAacount(String aacount) {
        this.aacount = aacount;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public int[] getRoles() {
        return roles;
    }

    public void setRoles(int[] roles) {
        this.roles = roles;
    }

    @Override
    public String toString() {
        return "AdinmEntity{" +
                "aid=" + aid +
                ", aname='" + aname + '\'' +
                ", apass='" + apass + '\'' +
                ", aimage='" + aimage + '\'' +
                ", adesc='" + adesc + '\'' +
                ", astatus=" + astatus +
                ", aacount='" + aacount + '\'' +
                ", rid=" + rid +
                ", aphone='" + aphone + '\'' +
                ", roles=" + Arrays.toString(roles) +
                ", status=" + status +
                ", PageNum=" + PageNum +
                ", PageSize=" + PageSize +
                ", rolesEntity=" + rolesEntity +
                '}';
    }
}
